package net.cloudcodex.client.character.view;

import net.cloudcodex.shared.dto.campaign.character.CharacterNoteDTO;

import com.google.gwt.event.dom.client.HasKeyDownHandlers;
import com.google.gwt.event.dom.client.HasKeyUpHandlers;
import com.google.gwt.user.client.ui.IsWidget;

/**
 * 
 * 
 * @author ADaroussin
 */
public interface CharactersNoteView extends IsWidget {

	public void addCharacterNote(String content);

	public void addCharacterAvatar(Long id, String icon, String name);

	public HasKeyUpHandlers getTextAreaKeyUpHandler();

	public HasKeyDownHandlers getTextAreaKeyDownHandler();

	public void initComponents();

	public void addCharacterNoteID(Long characterID);

	public CharacterNoteDTO getChangedNotes();

	public void refreshNote(String string);

	public Long getNoteAuthor();

	public void addAuthor(Long authorID);

}
